// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.content.res.Resources;
import android.text.Html;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.AutoCompleteTextView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.nnee.p_b.p_a.cls_d;
import com.nnee.p_fk.cls_k;
import com.nnee.p_pr.p_activity.p_a.cls_p;
import com.nnee.p_pr.p_atom.cls_b;
import com.nnee.p_pr.p_atom.cls_u;
import com.nnee.p_pr.p_d.cls_c;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            CustomListViewActivity, MainGridActivity

class cls_fr
    implements android.view.View.OnClickListener
{

	cls_fr(cls_CustomListViewActivity customlistviewactivity)
    {
        a = customlistviewactivity;
        super();
    }

    public void onClick(View view)
    {
        com.nnee.p_pr.p_activity.p_view.cls_c c1;
        int i;
        c1 = null;
        i = 0;
        view.getId();
        JVM INSTR lookupswitch 5: default 502
    //                   2131558409: 60
    //                   2131558515: 104
    //                   2131558516: 132
    //                   2131558518: 379
    //                   2131558526: 389;
           goto _L1 _L2 _L3 _L4 _L5 _L6
_L1:
        break; /* Loop/switch isn't completed */
_L2:
        Exception exception;
        NullPointerException nullpointerexception;
        if(!d.h().i())
            i = 1;
        cls_MainGridActivity.a(com.nnee.p_pr.p_activity.cls_CustomListViewActivity.d(a), i, 0);
        break; /* Loop/switch isn't completed */
        nullpointerexception;
        nullpointerexception.printStackTrace();
          goto _L7
        exception;
        throw exception;
_L3:
        cls_CustomListViewActivity.a(a).setText("");
        c.a(a.p(), 1701);
        break; /* Loop/switch isn't completed */
_L4:
        android.os.IBinder ibinder = cls_CustomListViewActivity.a(a).getWindowToken();
        cls_CustomListViewActivity.e(a).hideSoftInputFromWindow(ibinder, 0);
        cls_CustomListViewActivity.a(a, cls_CustomListViewActivity.a(a).getText().toString());
        cls_CustomListViewActivity.a(a).setDropDownHeight(0);
        if(cls_CustomListViewActivity.f(a) != b.e) goto _L9; else goto _L8
_L8:
        if(cls_CustomListViewActivity.e().matcher(cls_CustomListViewActivity.g(a)).find()) goto _L11; else goto _L10
_L10:
        int j;
        cls_CustomListViewActivity.h(a).a();
        cls_CustomListViewActivity.i(a).setVisibility(0);
        cls_CustomListViewActivity.j(a).setVisibility(8);
        if(!k.a(a).c())
            break MISSING_BLOCK_LABEL_507;
        j = 0x7f0a00c9;
_L12:
        com.nnee.p_pr.p_activity.cls_CustomListViewActivity.k(a).setText(Html.fromHtml(a.getResources().getString(j)));
          goto _L7
_L11:
        cls_CustomListViewActivity.i(a).setVisibility(8);
_L9:
        com.nnee.p_pr.p_activity.cls_CustomListViewActivity.b(a, cls_CustomListViewActivity.g(a));
        com.nnee.p_pr.c.d.a(com.nnee.p_pr.p_activity.cls_CustomListViewActivity.d(a), d.h().c(), cls_CustomListViewActivity.g(a));
        c.a(a.p(), 1698, cls_CustomListViewActivity.g(a), cls_CustomListViewActivity.l(a));
        break; /* Loop/switch isn't completed */
_L5:
        cls_CustomListViewActivity.m(a);
        break; /* Loop/switch isn't completed */
_L6:
        c1 = (com.nnee.p_pr.p_activity.p_view.c)view.getTag();
        while(c1 != null) 
        {
            cls_u u1 = cls_CustomListViewActivity.h(a).b(c1.b);
            if(u1.ak())
            {
                cls_CustomListViewActivity.a(a, 303, u1, null, null);
                c.a(a.p(), 1703, u1.U());
            } else
            if(u1.al())
            {
                cls_CustomListViewActivity.a(a, 309, u1, null, null);
                c.a(a.p(), 1702, u1.U());
            }
            break;
        }
_L7:
        return;
        j = 0x7f0a00ca;
          goto _L12
    }

    final cls_CustomListViewActivity a;
}
